﻿<%@ Page Title="" Language="C#" MasterPageFile="~/frontpage/index.Master" AutoEventWireup="true" CodeBehind="OutterContest.aspx.cs" Inherits="Web.frontpage.OutterContest" %>
<asp:Content ID="head" ContentPlaceHolderID="head" runat="server">
    <script src="../admin/js/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="js/jquery.fullsize.js" type="text/javascript"></script>
    <script src="js/jquery.fullsize.minified.js" type="text/javascript"></script>
    <link href="css/Contest.css" rel="stylesheet" type="text/css" />
    <link href="css/fullsize.css" rel="stylesheet" type="text/css" />
    <script language="javascript" type="text/javascript">
        function clearText(field) {
            if (field.defaultValue == field.value) field.value = '';
            else if (field.value == '') field.value = field.defaultValue;
        }
        $(function () {
            $("div.templatemo_gallery img").fullsize();
        });
    </script>
</asp:Content>
<asp:Content ID="content" ContentPlaceHolderID="content" runat="server">
<div style=" background-color:#ffffff;  width:978px; font-size:inherit;" ><a href="index.aspx">首页</a>-><a href="OutterContest.aspx">省级竞赛</a></div>
<div id="templatemo_content_area">
    <div id="templatemo_left">
      <div class="templatemo_section_1">
        <div class="top1">
          <h1>登录</h1>
          <span class="title">
            LOGIN
          </span> 
        </div>
        <div class="middle">
          <div class="bottom1">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="32%" height="37" valign="middle">用户名：</td>
                <td width="68%" valign="middle">
                  <input type="text" name="textfield" id="username" runat="server" class="input_1 inputTxt"/>
                </td>
              </tr>
              <tr>
                <td height="37" valign="middle">密　码：</td>
                <td valign="middle">
                  <input type="text" name="textfield2" id="password" runat="server" class="input_2 inputTxt"/>
                </td>
              </tr>
              <tr>
                <td height="37" valign="middle">身　份：</td>
                <td valign="middle">
                    <asp:RadioButton GroupName="rb_login" Text="学生" runat="server" ID="rb_student" Checked="true" />
                    <asp:RadioButton GroupName="rb_login" Text="管理员" runat="server" ID="rb_manager" />
               </td>
              </tr>
              <tr>
                <td colspan="2">
                  <asp:Button ID="Button1" runat="server" OnClick="login" runat="server" CssClass="login"  />
                  <input name="input" type="image" src="images/img_5.gif" style="margin:0 10px;"/>
                  <input name="input" type="image" src="images/img_6.gif" />
                </td>
              </tr>
            </table>
          </div>
        </div>
      </div>
      <div class="templaemo_h_line"></div>
      <div class="templatemo_section_2">
        <h1>            
            省级及以上竞赛导航            
        </h1>
        <div class="green">
        <h3>
            <a href="Second.aspx?ClassId=3">
                竞赛通知
            </a>
        </h3>
        </div>
        <div class="blue">
         <h3>
            <a href="#">
                最新动态
            </a>
         </h3>
        </div>
        <div class="yellow">
          <h3>
            <a href="#">
                获奖名单
            </a>
          </h3>
        </div>
	
      </div>
    </div>
    <!-- End of left -->
    <div id="templatemo_right">     
      <asp:Repeater ID="Rp_Contest" runat="server">
            <ItemTemplate>
                  <div class="templatemo_section_3">
                    <h1>竞赛通知</h1>
                    <span class="blue_title"><%#Eval("CON_NAME")%>报名</span>
                    <p>
	                   报名时间：<%#Eval("ENROLL_TIME")%> <br/>
	                   参赛对象：全体学生<br/>
      	               开始时间：<%#Eval("CON_STARTTIME")%><br/>
	                   竞赛地点：<%#Eval("CON_ADDRESS")%>  <br/>
	                   <a href="Third.aspx?ClassId=3&Id=<%#Eval("CON_ID") %>">详细内容>></a>
	                </p>
                  </div>
            </ItemTemplate>
      </asp:Repeater>
      <div class="templatemo_section_3">
	   <a href="Second.aspx?ClassId=3">查看更多>></a>
	  </div>
     
      <div class="templaemo_h_line"></div>
      <div class="templatemo_section_4">
        <div class="templatemo_two_col1 left1"> 
          <h2>最新动态</h2>
        <table style="width:100%; border:0px; ">
            
            <asp:Repeater ID="Rp_ConItem" runat="server">
            <ItemTemplate>
            <tr>
                <td width="85%" height="18">
                    <a href='Third.aspx?ClassId=7&Id=<%#Eval("PRO_ID") %>'>
                        <%#Eval("CON_NAME")%>
                        <%#Eval("PHA_NAME")%>
                    </a>
                </td>
                <td width="15%" height="18">
                    <%#Convert.ToDateTime(DataBinder.Eval(Container.DataItem,"PRO_STARTTIME")).ToShortDateString()%>
                </td>
            </tr>
            </ItemTemplate>
        </asp:Repeater>
        </table>
        </div>
        <div class="templatemo_two_col2 right2"> 
          <h2>项目导航</h2>
          <asp:Repeater ID="Rp_Com" runat="server">
            <ItemTemplate>
                <li>
                    <a href='Second.aspx?ClassId=7&ItemId=<%#Eval("COM_ID") %>'>
                        <%#Eval("COM_NAME")%>
                    </a>
                </li>
            </ItemTemplate>
         </asp:Repeater>
        </div>
        <div class="cleaner"></div>
      </div>
      <div class="cleaner"></div>
      <div class="templatemo_section_5">
        <div class="templatemo_two_col1 left1">
          <h1>精彩图片</h1>
          <div class="templatemo_gallery"> 
            <img src="images/Contest/templatemo_thumb_1.jpg"  longdesc="images/Contest/templatemo_big_1.jpg" title="Sun Flower" alt="Sun Flower" /> 
            <img src="images/Contest/templatemo_thumb_2.jpg"  longdesc="images/Contest/templatemo_big_2.jpg" title="Stone" alt="Stone" /> 
            <img src="images/Contest/templatemo_thumb_3.jpg"  longdesc="images/Contest/templatemo_big_3.jpg" title="Bug" alt="Bug" /> 
            <img src="images/Contest/templatemo_thumb_4.jpg"  longdesc="images/Contest/templatemo_big_4.jpg" title="Singapore" alt="Singapore" /> 
            <img src="images/Contest/templatemo_thumb_5.jpg"  longdesc="images/Contest/templatemo_big_5.jpg" title="Parrot" alt="Parrot" /> 
            <img src="images/Contest/templatemo_thumb_6.jpg"  longdesc="images/Contest/templatemo_big_6.jpg" title="Jetty" alt="Jetty" /> 
            <img src="images/Contest/templatemo_thumb_6.jpg"  longdesc="images/Contest/templatemo_big_6.jpg" title="Jetty" alt="Jetty" /> 
            <img src="images/Contest/templatemo_thumb_6.jpg"  longdesc="images/Contest/templatemo_big_6.jpg" title="Jetty" alt="Jetty" /> 
          </div>
        </div>
        <div class="templaemo_v_line"></div>
        <div class="templatemo_two_col2 right2">
          <h1>获奖名单</h1>
        <marquee onmouseover="this.stop()" onmouseout="this.start()"  style="height:180px;" scrollAmount="1" scrollDelay="100" direction="up" height="99%">
		<asp:Repeater runat="server" ID="RpAward">
            <ItemTemplate>
                <span><%#Eval("STU_NAME")+"   "+Eval("AWA_NAME") %> </span><br/>
            </ItemTemplate>
        </asp:Repeater>
       
		
	  </marquee>
        </div>
        <div class="cleaner"></div>
      </div>
    </div>
</div>

</asp:Content>
